﻿using System.Web;
using System.Web.Optimization;
using System.Web.UI.WebControls;

namespace CultuRAM
{
    public class BundleConfig
    {
        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        //"~/Scripts/jquery-{version}.js",
                        "~/Scripts/jquery-1.10.2.js",
                        "~/Scripts/globalize/globalize.js",
                        "~/Scripts/globalize/cultures/globalize.culture.pt-PT.js"
                        ));

            //bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
            //            "~/Scripts/jquery-ui-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
            "~/Scripts/jquery-ui-1.10.3.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.unobtrusive*",
                        "~/Scripts/jquery.validate*"));


            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                "~/Content/site.css",
                "~/Content/Backoffice.css"
                ));

            bundles.Add(new StyleBundle("~/Content/backoffice").Include(
                "~/Content/Backoffice.css"
                ));

            bundles.Add(new StyleBundle("~/Content/fonts").Include(
                "~/Content/social-buttons.css",
                "~/Content/font-awesome.min.css"
                ));
            

            bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
                        "~/Content/themes/base/jquery.ui.core.css",
                        "~/Content/themes/base/jquery.ui.resizable.css",
                        "~/Content/themes/base/jquery.ui.selectable.css",
                        "~/Content/themes/base/jquery.ui.accordion.css",
                        "~/Content/themes/base/jquery.ui.autocomplete.css",
                        "~/Content/themes/base/jquery.ui.button.css",
                        "~/Content/themes/base/jquery.ui.dialog.css",
                        "~/Content/themes/base/jquery.ui.slider.css",
                        "~/Content/themes/base/jquery.ui.tabs.css",
                        "~/Content/themes/base/jquery.ui.datepicker.css",
                        "~/Content/themes/base/jquery.ui.progressbar.css",
                        "~/Content/themes/base/jquery.ui.theme.css"));

            //CultuRAM
            bundles.Add(new ScriptBundle("~/bundles/culturam").Include(
                        "~/Scripts/culturam.js"));

            //Google Charts API
            bundles.Add(new ScriptBundle("~/bundles/chartsapi").Include(
                       "~/Scripts/jsapi.js"));

            //BootBox
            bundles.Add(new ScriptBundle("~/bundles/bootbox").Include(
                        "~/Scripts/bootbox.min.js"));

            //Bootstrap 3  
            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                //"~/Scripts/bootstrap.min.js",
                "~/Scripts/bootstrap.js"
                ));
            bundles.Add(new StyleBundle("~/Content/bootstrap").Include(
                "~/Content/bootstrap/bootstrap.css",
                //"~/Content/bootstrap/bootstrap.min.css",
                "~/Content/bootstrap/bootstrap-theme.css"
                //"~/Content/bootstrap/bootstrap-theme.min.css"
                ));

   
            //Bootstrap 2.3.2  
            bundles.Add(new ScriptBundle("~/bundles/bootstrap2").Include(
                //"~/Scripts/bootstrap_232.min.js",
                "~/Scripts/bootstrap_232.js"));
            bundles.Add(new StyleBundle("~/Content/bootstrap2").Include(
                "~/Content/bootstrap/bootstrap_232.css",
                //"~/Content/bootstrap/bootstrap_232.min.css",
                "~/Content/bootstrap/bootstrap_232-responsive.css"
                //"~/Content/bootstrap/bootstrap_232-responsive.min.css"
                ));


            //Bootstrap 3.0.2  
            bundles.Add(new ScriptBundle("~/bundles/bootstrap3").Include(
                "~/Scripts/bootstrap_302.js"));
            bundles.Add(new StyleBundle("~/Content/bootstrap3").Include(
                "~/Content/bootstrap/bootstrap_302.css",
                "~/Content/bootstrap/bootstrap-theme_302.css"
                ));


            //Bootstrap: DataTimePicker 
            bundles.Add(new ScriptBundle("~/bundles/datatimepicker").Include(
                "~/Scripts/bootstrap-datetimepicker.min.js",
                "~/Scripts/bootstrap-datetimepicker.pt-PT.js"
                ));
            bundles.Add(new StyleBundle("~/Content/datatimepicker").Include(
                "~/Content/bootstrap/bootstrap-datetimepicker.min.css",
                "~/Content/bootstrap/bootstrap_222_combined.min.css"
                ));


            //Bootstrap: Multiselect 
            bundles.Add(new ScriptBundle("~/bundles/multiselect").Include(
                "~/Scripts/bootstrap-multiselect.js"
                ));
            bundles.Add(new StyleBundle("~/Content/multiselect").Include(
                "~/Content/bootstrap/bootstrap-multiselect.css"
                ));
        }
    }
}